package com.zjsystem.zjsy.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyf
 * @since 2024-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ZjInstruct implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 筹划任务id
     */
    private Long planId;

    /**
     * 操作人
     */
    private String loginUser = "王云飞";

    /**
     * 调控指令类型
     */
    private String regulateType;

    /**
     * 指令类型
     */
    private String instructType;

    /**
     * 发送单位id
     */
    private String sendDwId;

    /**
     * 发送单位名称
     */
    private String sendDwMc;

    /**
     * 发送时间
     */
    private String sendTime;

    /**
     * 指令名称
     */
    private String instructName;

    /**
     * 指令内容
     */
    private String instructValue;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date updateTime;


}
